package com.competition.param.impl;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.admin.param.contract.IExploringHorses;
import com.competition.web.constant.ValidateCondtionAndMessage;

public class ExploringHorses implements IExploringHorses {

	 /**
     * 请假开始时间
     */
	@NotNull
    private String start;
    
    /**
     * 请假结束时间
     */
	@NotNull
    private String end;
	
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private Integer areaId;
	
	/**
	 * 类型 前道 后道
	 */
	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
	private Byte type;


	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public Byte getType() {
		return type;
	}

	public void setType(Byte type) {
		this.type = type;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}
}
